<template>
  <div id="userGroup">
    <v-header title="标签维护" :saveShow="false" :showDownloadBtn="false"></v-header>
    <el-table
      :data="userList"
      border
    >
      <el-table-column
        prop="name"
        label="姓名"
      ></el-table-column>
      <el-table-column
        prop="sex"
        label="性别"
      ></el-table-column>
      <el-table-column
        prop="tag"
        label="标签"
      >
        <template slot-scope="scope">
          <div>
            <el-tag size="mini">运动狂</el-tag>
            <el-tag size="mini">高富帅</el-tag>
          </div>
          <el-button @click="handleClick(scope.row)" type="text" size="small">相似人群</el-button>
          <el-button type="text" size="small">客户画像</el-button>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>
<script>
  import {VHeader} from '../../../components'
  export default {
    components: {
      VHeader
    },
    data () {
      return {
        userList: [{
          name: '张三',
          sex: '难',
          tag: ''
        }]
      }
    }
  }
</script>
